<div id="content_header">
  <h3>{{ current.InventoryName }} Editing</h3>
</div>
<div class="row">
  <form name="form" role="form" ng-submit="update()">

    <div class="form-group">
      <label for="Name">
        Inventory Name
      </label>
      <span class="error" ng-show="form.Name.$error.required">Required!</span>
      <input type="text" name="Name" class="form-control" id="Name" placeholder="Input field" ng-model="current.Name" required>
    </div>

    <div class="form-group">
      <label for="Code">
        Inventory Code
      </label>
      <span class="error" ng-show="form.Code.$error.required">Required!</span>
      <input type="text" name="Code" class="form-control" id="Code" placeholder="Input field" ng-model="current.Code" required>
    </div>

    <button type="submit" class="btn btn-primary" >Submit</button>
  </form>
</div>